﻿using System.Security.Cryptography;

namespace EncodingTools {
    public class Sha1Encoder : IEncoder {
        public byte[] Encode(byte[] value) {
            SHA1 sha = new SHA1CryptoServiceProvider();
            return sha.ComputeHash(value);
        }
    }
}
